Links & navigation
With isolation arrival, Dev center apps are running inside an iframe. Because of this, the usual links don’t work as they worked before.
If you write something like this:
<a href="/assets/1/">go to my asset</a>
it will result in opening this link inside of the app’s iframe, instead of navigating on the current user’s page. It’ll look like a site inside of a site
There’re two ways to solve this:
Add target="_blank"
to your links, which will make them open in a new tab:
<a href="/assets/1/" target="_blank">go to my asset</a>
Use TextLink
component from the @corva/ui
library
The component makes links work even when they are located within isolated apps inside an iframe